Optimal. Leaf size=136 \[ \frac {1}{2} a (4 b c+3 a d) \sqrt {c+d x^2}+\frac {a (4 b c+3 a d) \left (c+d x^2\right )^{3/2}}{6 c}+\frac {b^2 \left (c+d x^2\right )^{5/2}}{5 d}-\frac {a^2 \left (c+d x^2\right )^{5/2}}{2 c x^2}-\frac {1}{2} a \sqrt {c} (4 b c+3 a d) \tanh ^{-1}\left (\frac {\sqrt {c+d x^2}}{\sqrt {c}}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.08, antiderivative size = 136, normalized size of antiderivative = 1.00, number of steps
used = 7, number of rules used = 6, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.250, Rules used = {457, 91, 81, 52,
65, 214} \begin {gather*} -\frac {a^2 \left (c+d x^2\right )^{5/2}}{2 c x^2}+\frac {a \left (c+d x^2\right )^{3/2} (3 a d+4 b c)}{6 c}+\frac {1}{2} a \sqrt {c+d x^2} (3 a d+4 b c)-\frac {1}{2} a \sqrt {c} (3 a d+4 b c) \tanh ^{-1}\left (\frac {\sqrt {c+d x^2}}{\sqrt {c}}\right )+\frac {b^2 \left (c+d x^2\right )^{5/2}}{5 d} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 52
Rule 65
Rule 81
Rule 91
Rule 214
Rule 457
Rubi steps
\begin {align*} \int \frac {\left (a+b x^2\right )^2 \left (c+d x^2\right )^{3/2}}{x^3} \, dx &=\frac {1}{2} \text {Subst}\left (\int \frac {(a+b x)^2 (c+d x)^{3/2}}{x^2} \, dx,x,x^2\right )\\ &=-\frac {a^2 \left (c+d x^2\right )^{5/2}}{2 c x^2}+\frac {\text {Subst}\left (\int \frac {\left (\frac {1}{2} a (4 b c+3 a d)+b^2 c x\right ) (c+d x)^{3/2}}{x} \, dx,x,x^2\right )}{2 c}\\ &=\frac {b^2 \left (c+d x^2\right )^{5/2}}{5 d}-\frac {a^2 \left (c+d x^2\right )^{5/2}}{2 c x^2}+\frac {(a (4 b c+3 a d)) \text {Subst}\left (\int \frac {(c+d x)^{3/2}}{x} \, dx,x,x^2\right )}{4 c}\\ &=\frac {a (4 b c+3 a d) \left (c+d x^2\right )^{3/2}}{6 c}+\frac {b^2 \left (c+d x^2\right )^{5/2}}{5 d}-\frac {a^2 \left (c+d x^2\right )^{5/2}}{2 c x^2}+\frac {1}{4} (a (4 b c+3 a d)) \text {Subst}\left (\int \frac {\sqrt {c+d x}}{x} \, dx,x,x^2\right )\\ &=\frac {1}{2} a (4 b c+3 a d) \sqrt {c+d x^2}+\frac {a (4 b c+3 a d) \left (c+d x^2\right )^{3/2}}{6 c}+\frac {b^2 \left (c+d x^2\right )^{5/2}}{5 d}-\frac {a^2 \left (c+d x^2\right )^{5/2}}{2 c x^2}+\frac {1}{4} (a c (4 b c+3 a d)) \text {Subst}\left (\int \frac {1}{x \sqrt {c+d x}} \, dx,x,x^2\right )\\ &=\frac {1}{2} a (4 b c+3 a d) \sqrt {c+d x^2}+\frac {a (4 b c+3 a d) \left (c+d x^2\right )^{3/2}}{6 c}+\frac {b^2 \left (c+d x^2\right )^{5/2}}{5 d}-\frac {a^2 \left (c+d x^2\right )^{5/2}}{2 c x^2}+\frac {(a c (4 b c+3 a d)) \text {Subst}\left (\int \frac {1}{-\frac {c}{d}+\frac {x^2}{d}} \, dx,x,\sqrt {c+d x^2}\right )}{2 d}\\ &=\frac {1}{2} a (4 b c+3 a d) \sqrt {c+d x^2}+\frac {a (4 b c+3 a d) \left (c+d x^2\right )^{3/2}}{6 c}+\frac {b^2 \left (c+d x^2\right )^{5/2}}{5 d}-\frac {a^2 \left (c+d x^2\right )^{5/2}}{2 c x^2}-\frac {1}{2} a \sqrt {c} (4 b c+3 a d) \tanh ^{-1}\left (\frac {\sqrt {c+d x^2}}{\sqrt {c}}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.19, size = 108, normalized size = 0.79 \begin {gather*} \frac {\sqrt {c+d x^2} \left (-15 a^2 d \left (c-2 d x^2\right )+6 b^2 x^2 \left (c+d x^2\right )^2+20 a b d x^2 \left (4 c+d x^2\right )\right )}{30 d x^2}-\frac {1}{2} a \sqrt {c} (4 b c+3 a d) \tanh ^{-1}\left (\frac {\sqrt {c+d x^2}}{\sqrt {c}}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.12, size = 155, normalized size = 1.14
method | result | size |
default | \(\frac {b^{2} \left (d \,x^{2}+c \right )^{\frac {5}{2}}}{5 d}+a^{2} \left (-\frac {\left (d \,x^{2}+c \right )^{\frac {5}{2}}}{2 c \,x^{2}}+\frac {3 d \left (\frac {\left (d \,x^{2}+c \right )^{\frac {3}{2}}}{3}+c \left (\sqrt {d \,x^{2}+c}-\sqrt {c}\, \ln \left (\frac {2 c +2 \sqrt {c}\, \sqrt {d \,x^{2}+c}}{x}\right )\right )\right )}{2 c}\right )+2 a b \left (\frac {\left (d \,x^{2}+c \right )^{\frac {3}{2}}}{3}+c \left (\sqrt {d \,x^{2}+c}-\sqrt {c}\, \ln \left (\frac {2 c +2 \sqrt {c}\, \sqrt {d \,x^{2}+c}}{x}\right )\right )\right )\) | \(155\) |
risch | \(-\frac {c \,a^{2} \sqrt {d \,x^{2}+c}}{2 x^{2}}+\frac {b^{2} d \,x^{4} \sqrt {d \,x^{2}+c}}{5}+\frac {2 b^{2} c \,x^{2} \sqrt {d \,x^{2}+c}}{5}+\frac {b^{2} c^{2} \sqrt {d \,x^{2}+c}}{5 d}+\frac {2 a b d \,x^{2} \sqrt {d \,x^{2}+c}}{3}+\frac {8 a b c \sqrt {d \,x^{2}+c}}{3}+a^{2} d \sqrt {d \,x^{2}+c}-\frac {3 \sqrt {c}\, \ln \left (\frac {2 c +2 \sqrt {c}\, \sqrt {d \,x^{2}+c}}{x}\right ) a^{2} d}{2}-2 c^{\frac {3}{2}} \ln \left (\frac {2 c +2 \sqrt {c}\, \sqrt {d \,x^{2}+c}}{x}\right ) a b\) | \(183\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.30, size = 138, normalized size = 1.01 \begin {gather*} -2 \, a b c^{\frac {3}{2}} \operatorname {arsinh}\left (\frac {c}{\sqrt {c d} {\left | x \right |}}\right ) - \frac {3}{2} \, a^{2} \sqrt {c} d \operatorname {arsinh}\left (\frac {c}{\sqrt {c d} {\left | x \right |}}\right ) + \frac {2}{3} \, {\left (d x^{2} + c\right )}^{\frac {3}{2}} a b + 2 \, \sqrt {d x^{2} + c} a b c + \frac {{\left (d x^{2} + c\right )}^{\frac {5}{2}} b^{2}}{5 \, d} + \frac {3}{2} \, \sqrt {d x^{2} + c} a^{2} d + \frac {{\left (d x^{2} + c\right )}^{\frac {3}{2}} a^{2} d}{2 \, c} - \frac {{\left (d x^{2} + c\right )}^{\frac {5}{2}} a^{2}}{2 \, c x^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 1.32, size = 267, normalized size = 1.96 \begin {gather*} \left [\frac {15 \, {\left (4 \, a b c d + 3 \, a^{2} d^{2}\right )} \sqrt {c} x^{2} \log \left (-\frac {d x^{2} - 2 \, \sqrt {d x^{2} + c} \sqrt {c} + 2 \, c}{x^{2}}\right ) + 2 \, {\left (6 \, b^{2} d^{2} x^{6} + 4 \, {\left (3 \, b^{2} c d + 5 \, a b d^{2}\right )} x^{4} - 15 \, a^{2} c d + 2 \, {\left (3 \, b^{2} c^{2} + 40 \, a b c d + 15 \, a^{2} d^{2}\right )} x^{2}\right )} \sqrt {d x^{2} + c}}{60 \, d x^{2}}, \frac {15 \, {\left (4 \, a b c d + 3 \, a^{2} d^{2}\right )} \sqrt {-c} x^{2} \arctan \left (\frac {\sqrt {-c}}{\sqrt {d x^{2} + c}}\right ) + {\left (6 \, b^{2} d^{2} x^{6} + 4 \, {\left (3 \, b^{2} c d + 5 \, a b d^{2}\right )} x^{4} - 15 \, a^{2} c d + 2 \, {\left (3 \, b^{2} c^{2} + 40 \, a b c d + 15 \, a^{2} d^{2}\right )} x^{2}\right )} \sqrt {d x^{2} + c}}{30 \, d x^{2}}\right ] \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 31.32, size = 303, normalized size = 2.23 \begin {gather*} - \frac {3 a^{2} \sqrt {c} d \operatorname {asinh}{\left (\frac {\sqrt {c}}{\sqrt {d} x} \right )}}{2} - \frac {a^{2} c \sqrt {d} \sqrt {\frac {c}{d x^{2}} + 1}}{2 x} + \frac {a^{2} c \sqrt {d}}{x \sqrt {\frac {c}{d x^{2}} + 1}} + \frac {a^{2} d^{\frac {3}{2}} x}{\sqrt {\frac {c}{d x^{2}} + 1}} - 2 a b c^{\frac {3}{2}} \operatorname {asinh}{\left (\frac {\sqrt {c}}{\sqrt {d} x} \right )} + \frac {2 a b c^{2}}{\sqrt {d} x \sqrt {\frac {c}{d x^{2}} + 1}} + \frac {2 a b c \sqrt {d} x}{\sqrt {\frac {c}{d x^{2}} + 1}} + 2 a b d \left (\begin {cases} \frac {\sqrt {c} x^{2}}{2} & \text {for}\: d = 0 \\\frac {\left (c + d x^{2}\right )^{\frac {3}{2}}}{3 d} & \text {otherwise} \end {cases}\right ) + b^{2} c \left (\begin {cases} \frac {\sqrt {c} x^{2}}{2} & \text {for}\: d = 0 \\\frac {\left (c + d x^{2}\right )^{\frac {3}{2}}}{3 d} & \text {otherwise} \end {cases}\right ) + b^{2} d \left (\begin {cases} - \frac {2 c^{2} \sqrt {c + d x^{2}}}{15 d^{2}} + \frac {c x^{2} \sqrt {c + d x^{2}}}{15 d} + \frac {x^{4} \sqrt {c + d x^{2}}}{5} & \text {for}\: d \neq 0 \\\frac {\sqrt {c} x^{4}}{4} & \text {otherwise} \end {cases}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 1.62, size = 126, normalized size = 0.93 \begin {gather*} \frac {6 \, {\left (d x^{2} + c\right )}^{\frac {5}{2}} b^{2} + 20 \, {\left (d x^{2} + c\right )}^{\frac {3}{2}} a b d + 60 \, \sqrt {d x^{2} + c} a b c d + 30 \, \sqrt {d x^{2} + c} a^{2} d^{2} - \frac {15 \, \sqrt {d x^{2} + c} a^{2} c d}{x^{2}} + \frac {15 \, {\left (4 \, a b c^{2} d + 3 \, a^{2} c d^{2}\right )} \arctan \left (\frac {\sqrt {d x^{2} + c}}{\sqrt {-c}}\right )}{\sqrt {-c}}}{30 \, d} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.55, size = 201, normalized size = 1.48 \begin {gather*} \frac {b^2\,{\left (d\,x^2+c\right )}^{5/2}}{5\,d}-\left (\frac {2\,b^2\,c-2\,a\,b\,d}{3\,d}-\frac {2\,b^2\,c}{3\,d}\right )\,{\left (d\,x^2+c\right )}^{3/2}-\sqrt {d\,x^2+c}\,\left (2\,c\,\left (\frac {2\,b^2\,c-2\,a\,b\,d}{d}-\frac {2\,b^2\,c}{d}\right )-\frac {{\left (a\,d-b\,c\right )}^2}{d}+\frac {b^2\,c^2}{d}\right )-\frac {a^2\,c\,\sqrt {d\,x^2+c}}{2\,x^2}+2\,a\,\mathrm {atan}\left (\frac {2\,a\,\sqrt {d\,x^2+c}\,\left (3\,a\,d+4\,b\,c\right )\,\sqrt {-\frac {c}{16}}}{\frac {3\,d\,a^2\,c}{2}+2\,b\,a\,c^2}\right )\,\left (3\,a\,d+4\,b\,c\right )\,\sqrt {-\frac {c}{16}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________